From 889df330a6a23adcc753d04a5a74e1c236d28b79 Mon Sep 17 00:00:00 2001 From: Mo Zhou Date: Sat, 27 Apr 2019 02:43:59 +0000 Subject: [PATCH] patch: upgrade unicode-data version string to 12.1.0 --- debian/patches/series | 1 + debian/patches/utf8proc-unicode-version.patch | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 debian/patches/utf8proc-unicode-version.patch diff --git a/debian/patches/series b/debian/patches/series index a1afc75..c37a6b8 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ use-unicode-data.patch unicode-data-12.1.0pre1.patch +utf8proc-unicode-version.patch diff --git a/debian/patches/utf8proc-unicode-version.patch b/debian/patches/utf8proc-unicode-version.patch new file mode 100644 index 0000000..9c8447f --- /dev/null +++ b/debian/patches/utf8proc-unicode-version.patch @@ -0,0 +1,39 @@ +Index: utf8proc/utf8proc.c +=================================================================== +--- utf8proc.orig/utf8proc.c ++++ utf8proc/utf8proc.c +@@ -101,7 +101,7 @@ UTF8PROC_DLLEXPORT const char *utf8proc_ + } + + UTF8PROC_DLLEXPORT const char *utf8proc_unicode_version(void) { +- return "12.0.0"; ++ return "12.1.0"; + } + + UTF8PROC_DLLEXPORT const char *utf8proc_errmsg(utf8proc_ssize_t errcode) { +Index: utf8proc/data/Makefile +=================================================================== +--- utf8proc.orig/data/Makefile ++++ utf8proc/data/Makefile +@@ -22,7 +22,7 @@ CharWidths.txt: charwidths.jl EastAsianW + $(JULIA) charwidths.jl > $@ + + # Unicode data version (must also update utf8proc_unicode_version function) +-UNICODE_VERSION=12.0.0 ++UNICODE_VERSION=12.1.0 + + UnicodeData.txt: + cp /usr/share/unicode/UnicodeData.txt $@ +Index: utf8proc/README.md +=================================================================== +--- utf8proc.orig/README.md ++++ utf8proc/README.md +@@ -39,7 +39,7 @@ The C library is found in this directory + and is named `libutf8proc.a` (for the static library) and + `libutf8proc.so` (for the dynamic library). + +-The Unicode version supported is 12.0.0. ++The Unicode version supported is 12.1.0. + + For Unicode normalizations, the following options are used: + -- 2.30.2